package com.web.mapper;

import com.web.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: XiangHu
 * @date: 2025年03月21日 15:46
 * @describe:
 */
public interface StudentMapper {

    int insertstudent(Student student);
    int updatestudent(Student student);
    int removestudent(int id);
    List<Student> findstudents(); // 方法名保持不变
    int selectStudentCount();
    List<Student> selectStudentPage(@Param("current") int current, @Param("pageSize") int pageSize);
}
